import { CHANGE_INPUT } from './actionTypes'
import { CHANGE_INPUT1 } from './actionTypes'
import { CHANGE_INPUT2 } from './actionTypes'
import { CHANGE_INPUT3 } from './actionTypes'
import { ADD_ITEM } from './actionTypes'
import { DELETE_ITEM } from './actionTypes'
import { PUT_ITEM } from './actionTypes'
import { GET_LIST } from './actionTypes'
import { POST_ITEM } from './actionTypes'

export const changeInputAction = (value) => ({
    type: CHANGE_INPUT,
    value
})
export const changeInputAction1 = (value) => ({
    type: CHANGE_INPUT1,
    value
})
export const changeInputAction2 = (value) => ({
    type: CHANGE_INPUT2,
    value
})
export const changeInputAction3 = (value) => ({
    type: CHANGE_INPUT3,
    value
})
export const addItemAction = (time) => ({
    type: ADD_ITEM,
    time
})
export const getListAction = (data) => ({
    type: GET_LIST,
    data
})
export const postItemAction = (data) => ({
    type: POST_ITEM,
    data
})
export const deleteItemAction = (data) => ({
    type: DELETE_ITEM,
    data
})
export const putItemAction = (data) => ({
    type: PUT_ITEM,
    data
})



